package com.ruoyi.od_organizer.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 报名审核对象 od_register
 * 
 * @author ruoyi
 * @date 2023-06-30
 */
public class OdRegister extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 报名ID */
    @Excel(name = "报名ID")
    private Long id;

    /** 活动ID */
    @Excel(name = "活动ID")
    private Long activityId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 报名日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报名日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date created;

    /** 报名状态（通过 1，打回 2， 活动取消3） */
    @Excel(name = "报名状态", readConverterExp = "通=过,1=，打回,2=，,活=动取消3")
    private Long status;

    @Excel(name = "活动名称")
    private String activityName;

    public String getActivityName() {
        return activityName;
    }

    public void setActivityName(String activityName) {
        this.activityName = activityName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    @Excel(name = "用户名称")
    private String userName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setActivityId(Long activityId) 
    {
        this.activityId = activityId;
    }

    public Long getActivityId() 
    {
        return activityId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setCreated(Date created) 
    {
        this.created = created;
    }

    public Date getCreated() 
    {
        return created;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("activityId", getActivityId())
            .append("userId", getUserId())
            .append("created", getCreated())
            .append("status", getStatus())
            .toString();
    }
}
